package com.spj.pojo;

import java.util.List;

/**
 * @author :spj
 * @description:
 */
public class Boy {
    private String name;
    private int age;
    private Wife wife;
    private List<GirlFriend> GirlFriends;

    public Boy(String name, int age, Wife wife, List<GirlFriend> girlFriends) {
        this.name = name;
        this.age = age;
        this.wife = wife;
        GirlFriends = girlFriends;
    }

    public Boy(String name, int age, Wife wife) {
        this.name = name;
        this.age = age;
        this.wife = wife;
    }

    public Boy(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Boy() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Wife getWife() {
        return wife;
    }

    public void setWife(Wife wife) {
        this.wife = wife;
    }

    public List<GirlFriend> getGirlFriends() {
        return GirlFriends;
    }

    public void setGirlFriends(List<GirlFriend> girlFrends) {
        GirlFriends = girlFrends;
    }

    @Override
    public String toString() {
        return "Boy{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", wife=" + wife +
                ", GirlFriends=" + GirlFriends +
                '}';
    }
}
